package edu.sctu.practice.class02.yangshengyu.text01.test08;



/**
 * Created by Cullen on 2015/10/15.
 */
public class Car extends Vehicles{
    public Car(String brand, String color) {
        super(brand, color);
    }
    static int seats=7;

    public static void showCar(){
        Vehicles car=new Vehicles("HHH","blue");
        car.showInfo();
        System.out.println("座位有："+seats+"个");
    }

    public static void main(String[] args) {
        showCar();
    }


}
